home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / NewXTeXT / XText0.9beta2 / XText.subproj / ErrorStream.h next >
Encoding:
Text File  |  1995-07-28  |  566 b   |  20 lines

  1. #import <objc/Object.h>
  2.  
  3. /*  The ErrorStream class allows clients of XText to customize its error
  4.     handling.  All errors are reported by invoking the report: method on
  5.     a client-supplied ErrorStream.  The default implementation simply puts
  6.     the message up in a modal panel, but you can create subclasses that do
  7.     more interesting things if you like.
  8.  
  9.     By default, all instances of XText share a single instance of ErrorStream,
  10.     which can be obtained by calling [ErrorStream default].
  11. */
  12.  
  13. @interface ErrorStream:Object
  14. {
  15. }
  16. + default;
  17. - report: (const STR) msg;
  18. @end
  19.  
  20.